package org.mall.framework.constant;

/***
 *@author yinxucun
 *@date 2019-11-19 11:00 
 */
public enum OrderStatus {

    /**
     *
     * */

    WAIT_FOR_PAY("待支付",100),
    WAIT_FOR_PRODUCE("待消费",200),
    WAIT_FOR_REFUND("待退款",300),
    COMPLETE("完成",400),
    CLOSE("关闭",500)
    ;




    private String name;

    private Integer code;


    OrderStatus(String name,Integer code){
        this.code=code;this.name=name;
    }

    public String getName() {
        return name;
    }

    public Integer getCode() {
        return code;
    }
}
